package cn.sh.stn.ssc.po;

public class User {

	private Integer id;
	private String name;
	private String address;
	private Integer companyId;
	private String companyName;

	public User() {

	}

	public User(Integer id, String name, String address, Integer companyId,
			String companyName) {
		super();
		this.id = id;
		this.name = name;
		this.address = address;
		this.companyId = companyId;
		this.companyName = companyName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", address=" + address
				+ ", companyId=" + companyId + ", companyName=" + companyName
				+ "]";
	}

}
